<%--
  Created by IntelliJ IDEA.
  User: 19256
  Date: 2022/9/15
  Time: 17:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>页面管理</title>
</head>
<body>
<center>
    <a href="${requestScope.page.url}?index=1">首页</a>&nbsp;&nbsp;&nbsp;
    <c:if test="${requestScope.page.index > 1}">
        <a href="${requestScope.page.url}?index=${requestScope.page.index -1}">上一页</a>&nbsp;&nbsp;&nbsp;
    </c:if>
    <c:if test="${requestScope.page.index < requestScope.page.pages}">
        <a href="${requestScope.page.url}?index=${requestScope.page.index +1}">下一页</a>&nbsp;&nbsp;&nbsp;
    </c:if>
    <a href="${requestScope.page.url}?index=${requestScope.page.pages}">尾页</a>
</center>
</body>
</html>
